SlideShare a Scribd company logo
1 of 20
Download to read offline
How Akamai delivers your packets - the insight
Christian Kaufmann
PLNOG 6
March 2011
© 2008 Akamai
What is a Content Distribution Network?
• The RFCs and Internet Drafts define a Content
Distribution Network, “CDN”, as:
Content Delivery Network or
Content Distribution Network. A
type of CONTENT NETWORK in which
the CONTENT NETWORK ELEMENTS are
arranged for more effective
delivery of CONTENT to CLIENTS.
© 2008 Akamai
What is a Content Distribution Network
- In English?
• A CDN is an overlay network, designed to
deliver content from the optimal location
• In many cases, optimal does not mean
geographically closest
• CDNs are made of distinct, geographically
disparate groups of servers, with each group
able to serve all content on the CDN
• Servers may be separated by type
• E.g. One group may serve Windows Streaming
Media, another group may serve HTTP
• Servers are not typically shared between media
types
© 2008 Akamai
What is a Content Distribution Network
- In English?
• Some CDNs are network owned (Level 3,
Limelight, at&t), some are not (Akamai, Mirror
Image, CacheFly, Panther Express)
• Network owned CDNs have all / most of their
servers in their own ASN
• Non-Network CDNs can place servers directly
in other ASNs
• This means things like NetFlow will not be useful for
determining traffic to/from non-network CDNs
© 2008 Akamai
The Akamai System
Resulting in traffic of:
5.0 Tbps peak traffic
36 petabytes / day
790+ billion hits / day
436+ million unique clients IPs / day
The Akamai EdgePlatform:
85,000+
Servers
1700+
POPs
72+
Countries
950+
Networks
660+
Cities
© 2008 Akamai
How CDNs Work
• When content is requested from a CDN, the
user is directed to the optimal server
• This is usually done through the DNS, especially for
non-network CDNs
• It can be done though anycasting for network owned
CDNs
• Users who query DNS-based CDNs be returned
different A records for the same hostname
• This is called “mapping”
• The better the mapping, the better the CDN
© 2008 Akamai
How CDNs Work
• Example of CDN mapping
• Notice the different A records for different locations:
[NYC]% host www.symantec.com
www.symantec.com CNAME a568.d.akamai.net
a568.d.akamai.net A 207.40.194.46
a568.d.akamai.net A 207.40.194.49
[Boston]% host www.symantec.com
www.symantec.com CNAME a568.d.akamai.net
a568.d.akamai.net A 81.23.243.152
a568.d.akamai.net A 81.23.243.145
© 2008 Akamai
End User
Finding the IP Address: The Akamai Way
Akamai High-Level DNS Servers
10 g.akamai.net
1
Browser’
s Cache
OS
2
Local Name
Server
3
example.com’s
nameserver
6
www.example.com
7
a212.g.akamai.net
9
15.15.125.6
16
15
1120.20.123.55
Akamai Low-Level DNS Servers
12 a212.g.akamai.net
30.30.123.5 13
14
4
example.com
.net Root
(InterNIC)10.10.123.55
akamai.net
8
© 2008 Akamai
How CDNs Work
• CDNs use multiple criteria to choose the
optimal server
• These include standard network metrics:
• Latency
• Throughput
• Packet loss
• These also include things like CPU load on the
server, HD space, network utilization, etc.
• Geography still counts
• That whole speed-of-light thing
• Should be able to solve that with the next version of
ethernet…
© 2008 Akamai
HTML
Object Delivery (Classic CDN)
1. Enduser types www.retailer.com into browser
2. Browser retrieves HTML from retailer’s origin infrastructure
3. HTML instructs browser to get objects from Akamai
4. Browser retrieves images from optimal Akamai EdgeServer
Origin
Infrastructure
End User
© 2008 Akamai
HTML
Whole Site Delivery (for Static Sites)
1. Enduser types www.retailer.com into browser
2. Browser retrieves entire site from Akamai cache at the edge
3. HTML instructs browser to get objects from Akamai
4. Browser retrieves images from optimal Akamai EdgeServer
Origin
Infrastructure
End User
© 2008 Akamai
HTML
HTML
Whole Site Delivery (for Dynamic Sites)
1. Enduser types www.retailer.com into browser
2. Browser requests HTML from optimal Akamai EdgeServer
3. Akamai EdgeServer retrieves HTML from origin infrastructure
4. Akamai EdgeServer sends HTML to browser
5. Browser retrieves images from optimal Akamai EdgeServer
Origin
Infrastructure
End User
© 2008 Akamai
Origin
Infrastructure
End User
HTML
With Akamai:
“Just-in-time caching”
of dynamic and “cold” content by Akamai Pre-fetching
1) Enduser types www.retailer.com into browser
2) Browser requests HTML from optimal Akamai EdgeServer
3) Akamai EdgeServer “GETs” HTML from origin infrastructure
4) Akamai EdgeServer parses HTML and requests uncached images from origin
while delivering HTML to browser
5) EdgeServer delivers “Akamaized” images to browser
© 2008 Akamai
Why CDNs Peer with ISPs
• The first and foremost reason to peer is
improved performance
• Since a CDN tries to serve content as “close” to the
end user as possible, peering directly with networks
(over non-congested links) obviously helps
• Peering gives better throughput
• Removing intermediate AS hops seems to give
higher peak traffic for same demand profile
• Might be due to lower latency opening TCP windows
faster
• Might be due to lower packet loss
© 2008 Akamai
Why CDNs Peer with ISPs
• Redundancy
• Having more possible vectors to deliver content
increases reliability
• Burstability
• During large events, having direct connectivity to
multiple networks allows for higher burstability than
a single connection to a transit provider
• Burstability is important to CDNs
• One of the reasons customers use CDNs is for
burstability
© 2008 Akamai
Why CDNs Peer with ISPs
• Peering reduces costs
• Reduces transit bill (duh)
• Network Intelligence
• Receiving BGP directly from multiple ASes helps
CDNs map the Internet
• Backup for on-net servers
• If there are servers on-net, the IX can act as a
backup during downtime and overflow
• Allows serving different content types
© 2008 Akamai
Why ISPs peer with CDNs
• Performance
• CDNs and ISPs are in the same business, just on
different sides - we both want to serve end users as
quickly and reliably as possible
• You know more about your network than any CDN
ever will, so working with the CDN directly can help
them deliver the content more quickly and reliably
• Cost Reduction
• Transit savings
• Possible backbone savings
© 2008 Akamai
How Non-Network CDNs use IXes
CDN Servers Transit
Peer Network
• Non-network CDNs do
not have a backbone, so
each IX instance is
independent
• The CDN uses transit to
pull content into the
servers
• Content is then served
to peers over the IX
Origin Server
IX
Content
© 2008 Akamai
How CDNs use IXes
• Non-network CDNs usually do not announce
large blocks of address space because no one
location has a large number of servers
• It is not uncommon to see a single /24 from a CDN
at an IX
• This does not mean you will not see a lot of
traffic
• How many web servers does it take to fill a gigabit
these days?
© 2008 Akamai
Questions?
• ck@akamai.com

More Related Content

What's hot

OSCON2014: Understanding Hypervisor Selection in Apache CloudStack
OSCON2014: Understanding Hypervisor Selection in Apache CloudStackOSCON2014: Understanding Hypervisor Selection in Apache CloudStack
OSCON2014: Understanding Hypervisor Selection in Apache CloudStackTim Mackey
 
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012Amazon Web Services
 
What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...CDNetworks
 
The Ultimate Guide to Web Hosting for Beginners
The Ultimate Guide to Web Hosting for BeginnersThe Ultimate Guide to Web Hosting for Beginners
The Ultimate Guide to Web Hosting for BeginnersTanvir Mustafa
 
(CDN) Content Delivery Network
(CDN) Content Delivery Network(CDN) Content Delivery Network
(CDN) Content Delivery NetworkKenton Spence
 
WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)jaredwsmith
 
Building AWS Compatible Cloud Services
Building AWS Compatible Cloud ServicesBuilding AWS Compatible Cloud Services
Building AWS Compatible Cloud ServicesShinichiro Kashiwagi
 
Web Hosting Solutions: Shared Hosting and VPS Hosting
Web Hosting Solutions: Shared Hosting and VPS HostingWeb Hosting Solutions: Shared Hosting and VPS Hosting
Web Hosting Solutions: Shared Hosting and VPS HostingHTS Hosting
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting ServicesJude Pugh
 
Hypervisor selection in CloudStack
Hypervisor selection in CloudStackHypervisor selection in CloudStack
Hypervisor selection in CloudStackTim Mackey
 
Best wordpress hosting
Best wordpress hosting Best wordpress hosting
Best wordpress hosting ken1990julius
 
How to Design a Scalable Private Cloud
How to Design a Scalable Private CloudHow to Design a Scalable Private Cloud
How to Design a Scalable Private CloudAFCOM
 
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Amazon Web Services
 
Acsug scalable windows azure patterns
Acsug scalable windows azure patternsAcsug scalable windows azure patterns
Acsug scalable windows azure patternsNikolai Blackie
 

What's hot (18)

OSCON2014: Understanding Hypervisor Selection in Apache CloudStack
OSCON2014: Understanding Hypervisor Selection in Apache CloudStackOSCON2014: Understanding Hypervisor Selection in Apache CloudStack
OSCON2014: Understanding Hypervisor Selection in Apache CloudStack
 
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012
MED101 Introduction to Amazon CloudFront - AWS re: Invent 2012
 
What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...What’s the Difference between an Application Delivery Network and a Content D...
What’s the Difference between an Application Delivery Network and a Content D...
 
The Ultimate Guide to Web Hosting for Beginners
The Ultimate Guide to Web Hosting for BeginnersThe Ultimate Guide to Web Hosting for Beginners
The Ultimate Guide to Web Hosting for Beginners
 
(CDN) Content Delivery Network
(CDN) Content Delivery Network(CDN) Content Delivery Network
(CDN) Content Delivery Network
 
WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)WordPress at Peak Performance (Radio Edit)
WordPress at Peak Performance (Radio Edit)
 
Building AWS Compatible Cloud Services
Building AWS Compatible Cloud ServicesBuilding AWS Compatible Cloud Services
Building AWS Compatible Cloud Services
 
Web Hosting Solutions: Shared Hosting and VPS Hosting
Web Hosting Solutions: Shared Hosting and VPS HostingWeb Hosting Solutions: Shared Hosting and VPS Hosting
Web Hosting Solutions: Shared Hosting and VPS Hosting
 
Welcome to amazon web services setup aws vpc
Welcome to amazon web services setup aws vpcWelcome to amazon web services setup aws vpc
Welcome to amazon web services setup aws vpc
 
Different Types of Web Hosting Services
Different Types of Web Hosting ServicesDifferent Types of Web Hosting Services
Different Types of Web Hosting Services
 
Web Fendamentals
Web FendamentalsWeb Fendamentals
Web Fendamentals
 
Hypervisor selection in CloudStack
Hypervisor selection in CloudStackHypervisor selection in CloudStack
Hypervisor selection in CloudStack
 
web hosting
web hostingweb hosting
web hosting
 
Best wordpress hosting
Best wordpress hosting Best wordpress hosting
Best wordpress hosting
 
How to Design a Scalable Private Cloud
How to Design a Scalable Private CloudHow to Design a Scalable Private Cloud
How to Design a Scalable Private Cloud
 
Web host
Web hostWeb host
Web host
 
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
 
Acsug scalable windows azure patterns
Acsug scalable windows azure patternsAcsug scalable windows azure patterns
Acsug scalable windows azure patterns
 

Similar to PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight

Akamai company profile
Akamai company profileAkamai company profile
Akamai company profilerahulp9999
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDNMojtaba HOUSHMAND
 
AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsPiyush Agrawal
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceBangladesh Network Operators Group
 
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt JansenEDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt JansenMyNOG
 
Cloud CDN Hosting
Cloud CDN HostingCloud CDN Hosting
Cloud CDN HostingComputeHost
 
Traffic Engineering for CDNs
Traffic Engineering for CDNsTraffic Engineering for CDNs
Traffic Engineering for CDNsMyNOG
 
Embedded CDNs in 2023
Embedded CDNs in 2023Embedded CDNs in 2023
Embedded CDNs in 2023MyNOG
 
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...Amazon Web Services
 
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Amazon Web Services
 
Content Devilery Network
Content Devilery NetworkContent Devilery Network
Content Devilery NetworkSanjiv Pradhan
 
KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13MDIF
 
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...Amazon Web Services
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksAmazon Web Services
 

Similar to PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight (20)

Akamai company profile
Akamai company profileAkamai company profile
Akamai company profile
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDN
 
Cdn
CdnCdn
Cdn
 
Traffic Engineering for CDNs
Traffic Engineering for CDNs Traffic Engineering for CDNs
Traffic Engineering for CDNs
 
AWS Cloudfront Fundamentals
AWS Cloudfront FundamentalsAWS Cloudfront Fundamentals
AWS Cloudfront Fundamentals
 
Contents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User ExperienceContents Localization Initiatives to get better User Experience
Contents Localization Initiatives to get better User Experience
 
EDNS0 Client-Subnet for DNS Based CDNs
EDNS0 Client-Subnet for DNS Based CDNs EDNS0 Client-Subnet for DNS Based CDNs
EDNS0 Client-Subnet for DNS Based CDNs
 
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt JansenEDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
 
Cloud CDN Hosting
Cloud CDN HostingCloud CDN Hosting
Cloud CDN Hosting
 
Traffic Engineering for CDNs
Traffic Engineering for CDNsTraffic Engineering for CDNs
Traffic Engineering for CDNs
 
Embedded CDNs in 2023
Embedded CDNs in 2023Embedded CDNs in 2023
Embedded CDNs in 2023
 
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
AWS 201 - A Walk through the AWS Cloud: Delivering Static and Dynamic Content...
 
16 (IDNOG01) EDNS0 / How CDNS works by Matt Jansen
16 (IDNOG01) EDNS0 / How CDNS works by Matt Jansen16 (IDNOG01) EDNS0 / How CDNS works by Matt Jansen
16 (IDNOG01) EDNS0 / How CDNS works by Matt Jansen
 
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
Dynamic Content Acceleration: Lightning Fast Web Apps with Amazon CloudFront ...
 
Unit 4 PART 1.pdf
Unit 4 PART 1.pdfUnit 4 PART 1.pdf
Unit 4 PART 1.pdf
 
CDN
CDNCDN
CDN
 
Content Devilery Network
Content Devilery NetworkContent Devilery Network
Content Devilery Network
 
KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13KB Seminars: Working with Technology - Hosting; 10/13
KB Seminars: Working with Technology - Hosting; 10/13
 
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
 

Recently uploaded

Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfhenrik385807
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...NETWAYS
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGYpruthirajnayak525
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...NETWAYS
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxCarrieButtitta
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Escort Service
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...NETWAYS
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSebastiano Panichella
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptssuser319dad
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...NETWAYS
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@vikas rana
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...NETWAYS
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Salam Al-Karadaghi
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸mathanramanathan2005
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)Basil Achie
 

Recently uploaded (20)

Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdfOpen Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
Open Source Strategy in Logistics 2015_Henrik Hankedvz-d-nl-log-conference.pdf
 
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
OSCamp Kubernetes 2024 | A Tester's Guide to CI_CD as an Automated Quality Co...
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
 
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
OSCamp Kubernetes 2024 | Zero-Touch OS-Infrastruktur für Container und Kubern...
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptx
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
Open Source Camp Kubernetes 2024 | Monitoring Kubernetes With Icinga by Eric ...
 
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with AerialistSimulation-based Testing of Unmanned Aerial Vehicles with Aerialist
Simulation-based Testing of Unmanned Aerial Vehicles with Aerialist
 
Philippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.pptPhilippine History cavite Mutiny Report.ppt
Philippine History cavite Mutiny Report.ppt
 
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
OSCamp Kubernetes 2024 | SRE Challenges in Monolith to Microservices Shift at...
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@call girls in delhi malviya nagar @9811711561@
call girls in delhi malviya nagar @9811711561@
 
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
Open Source Camp Kubernetes 2024 | Running WebAssembly on Kubernetes by Alex ...
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
Exploring protein-protein interactions by Weak Affinity Chromatography (WAC) ...
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸
 
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
NATIONAL ANTHEMS OF AFRICA (National Anthems of Africa)
 

PLNOG 6: Christian Kaufmann - How Akamai delivers your packets - the insight

  • 1. How Akamai delivers your packets - the insight Christian Kaufmann PLNOG 6 March 2011
  • 2. © 2008 Akamai What is a Content Distribution Network? • The RFCs and Internet Drafts define a Content Distribution Network, “CDN”, as: Content Delivery Network or Content Distribution Network. A type of CONTENT NETWORK in which the CONTENT NETWORK ELEMENTS are arranged for more effective delivery of CONTENT to CLIENTS.
  • 3. © 2008 Akamai What is a Content Distribution Network - In English? • A CDN is an overlay network, designed to deliver content from the optimal location • In many cases, optimal does not mean geographically closest • CDNs are made of distinct, geographically disparate groups of servers, with each group able to serve all content on the CDN • Servers may be separated by type • E.g. One group may serve Windows Streaming Media, another group may serve HTTP • Servers are not typically shared between media types
  • 4. © 2008 Akamai What is a Content Distribution Network - In English? • Some CDNs are network owned (Level 3, Limelight, at&t), some are not (Akamai, Mirror Image, CacheFly, Panther Express) • Network owned CDNs have all / most of their servers in their own ASN • Non-Network CDNs can place servers directly in other ASNs • This means things like NetFlow will not be useful for determining traffic to/from non-network CDNs
  • 5. © 2008 Akamai The Akamai System Resulting in traffic of: 5.0 Tbps peak traffic 36 petabytes / day 790+ billion hits / day 436+ million unique clients IPs / day The Akamai EdgePlatform: 85,000+ Servers 1700+ POPs 72+ Countries 950+ Networks 660+ Cities
  • 6. © 2008 Akamai How CDNs Work • When content is requested from a CDN, the user is directed to the optimal server • This is usually done through the DNS, especially for non-network CDNs • It can be done though anycasting for network owned CDNs • Users who query DNS-based CDNs be returned different A records for the same hostname • This is called “mapping” • The better the mapping, the better the CDN
  • 7. © 2008 Akamai How CDNs Work • Example of CDN mapping • Notice the different A records for different locations: [NYC]% host www.symantec.com www.symantec.com CNAME a568.d.akamai.net a568.d.akamai.net A 207.40.194.46 a568.d.akamai.net A 207.40.194.49 [Boston]% host www.symantec.com www.symantec.com CNAME a568.d.akamai.net a568.d.akamai.net A 81.23.243.152 a568.d.akamai.net A 81.23.243.145
  • 8. © 2008 Akamai End User Finding the IP Address: The Akamai Way Akamai High-Level DNS Servers 10 g.akamai.net 1 Browser’ s Cache OS 2 Local Name Server 3 example.com’s nameserver 6 www.example.com 7 a212.g.akamai.net 9 15.15.125.6 16 15 1120.20.123.55 Akamai Low-Level DNS Servers 12 a212.g.akamai.net 30.30.123.5 13 14 4 example.com .net Root (InterNIC)10.10.123.55 akamai.net 8
  • 9. © 2008 Akamai How CDNs Work • CDNs use multiple criteria to choose the optimal server • These include standard network metrics: • Latency • Throughput • Packet loss • These also include things like CPU load on the server, HD space, network utilization, etc. • Geography still counts • That whole speed-of-light thing • Should be able to solve that with the next version of ethernet…
  • 10. © 2008 Akamai HTML Object Delivery (Classic CDN) 1. Enduser types www.retailer.com into browser 2. Browser retrieves HTML from retailer’s origin infrastructure 3. HTML instructs browser to get objects from Akamai 4. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User
  • 11. © 2008 Akamai HTML Whole Site Delivery (for Static Sites) 1. Enduser types www.retailer.com into browser 2. Browser retrieves entire site from Akamai cache at the edge 3. HTML instructs browser to get objects from Akamai 4. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User
  • 12. © 2008 Akamai HTML HTML Whole Site Delivery (for Dynamic Sites) 1. Enduser types www.retailer.com into browser 2. Browser requests HTML from optimal Akamai EdgeServer 3. Akamai EdgeServer retrieves HTML from origin infrastructure 4. Akamai EdgeServer sends HTML to browser 5. Browser retrieves images from optimal Akamai EdgeServer Origin Infrastructure End User
  • 13. © 2008 Akamai Origin Infrastructure End User HTML With Akamai: “Just-in-time caching” of dynamic and “cold” content by Akamai Pre-fetching 1) Enduser types www.retailer.com into browser 2) Browser requests HTML from optimal Akamai EdgeServer 3) Akamai EdgeServer “GETs” HTML from origin infrastructure 4) Akamai EdgeServer parses HTML and requests uncached images from origin while delivering HTML to browser 5) EdgeServer delivers “Akamaized” images to browser
  • 14. © 2008 Akamai Why CDNs Peer with ISPs • The first and foremost reason to peer is improved performance • Since a CDN tries to serve content as “close” to the end user as possible, peering directly with networks (over non-congested links) obviously helps • Peering gives better throughput • Removing intermediate AS hops seems to give higher peak traffic for same demand profile • Might be due to lower latency opening TCP windows faster • Might be due to lower packet loss
  • 15. © 2008 Akamai Why CDNs Peer with ISPs • Redundancy • Having more possible vectors to deliver content increases reliability • Burstability • During large events, having direct connectivity to multiple networks allows for higher burstability than a single connection to a transit provider • Burstability is important to CDNs • One of the reasons customers use CDNs is for burstability
  • 16. © 2008 Akamai Why CDNs Peer with ISPs • Peering reduces costs • Reduces transit bill (duh) • Network Intelligence • Receiving BGP directly from multiple ASes helps CDNs map the Internet • Backup for on-net servers • If there are servers on-net, the IX can act as a backup during downtime and overflow • Allows serving different content types
  • 17. © 2008 Akamai Why ISPs peer with CDNs • Performance • CDNs and ISPs are in the same business, just on different sides - we both want to serve end users as quickly and reliably as possible • You know more about your network than any CDN ever will, so working with the CDN directly can help them deliver the content more quickly and reliably • Cost Reduction • Transit savings • Possible backbone savings
  • 18. © 2008 Akamai How Non-Network CDNs use IXes CDN Servers Transit Peer Network • Non-network CDNs do not have a backbone, so each IX instance is independent • The CDN uses transit to pull content into the servers • Content is then served to peers over the IX Origin Server IX Content
  • 19. © 2008 Akamai How CDNs use IXes • Non-network CDNs usually do not announce large blocks of address space because no one location has a large number of servers • It is not uncommon to see a single /24 from a CDN at an IX • This does not mean you will not see a lot of traffic • How many web servers does it take to fill a gigabit these days?